package com.hzz.hellomp;

import com.hzz.hellomp.entity.User;
import com.hzz.hellomp.mapper.UserMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class T1 {

    @Autowired
    UserMapper userMapper;

    @Test
    public void a(){
        List<User> users = userMapper.selectEmail(null);
        System.out.println(users);
    }

    @Test
    public void b(){
        List<User> users = userMapper.selectList(null);
        users.forEach(System.out::println);
    }


}
